package org.linlinjava.litemall.admin.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@ApiModel("奖励规则配置-优惠券VO")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdminRuleConfigCouponsVO {
    @ApiModelProperty("id")

    private String Id;

    @ApiModelProperty("策略名称")
    private String strategyName;

    @ApiModelProperty("优惠券名称")
    private String couponName;

    @ApiModelProperty("优惠类型")
    private Integer discountType;

    @ApiModelProperty("优惠类型")
    private BigDecimal discountRate;
    @ApiModelProperty("优惠类型")
    private BigDecimal discount;

    @ApiModelProperty("最低消费")
    private BigDecimal min;
}
